<%--
  Created by IntelliJ IDEA.
  User: 86155
  Date: 2022-09-16
  Time: 12:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
我是03页面
<br>我可以计算圆和梯形的面积
<%
    double r = 3, a = 2, b = 5, c = 2;
%>
<br>加载03-2.jsp计算半径为<%=r %>的圆的面积：
<jsp:include page="03-1.jsp">
    <jsp:param value="<%=r %>" name="sideR"/>
</jsp:include>

<br>加载03-1.jsp计算上底、下底、高为<%=a %>, <%=b %>, <%=c %>的梯形面积
<jsp:include page="03-2.jsp">
    <jsp:param value="<%=a %>" name="sideA"/>
    <jsp:param value="<%=b %>" name="sideB"/>
    <jsp:param value="<%=c %>" name="sideC"/>
</jsp:include>
</body>
</html>
